package com.bd.scm.domain.models.workCalendar;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * Created with IntelliJ IDEA.
 * User: _Cps
 * Date: 2020.07.09 8:33
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("bd_sys_dim_date")
public class BdSysDimDate extends Model<BdSysDimDate> {

    /**
     * 主键
     */
    @TableId(value = "date_key", type = IdType.AUTO)
    private Integer dateKey;

    /**
     * 日期
     */
    @TableField("date")
    private String  date;

    /**
     * 年
     */
    @TableField("date_year")
    private Integer dateYear;

    /**
     * 月份
     */
    @TableField("date_month")
    private Integer dateMonth;

    /**
     *  几号
     */
    @TableField("date_day")
    private Integer dateDay;

    /**
     * 星期几数值
     */
    @TableField("date_week")
    private Integer dateWeek;

    /**
     * 星期几
     */
    @TableField("date_week_name")
    private String dateWeekName;

}
